package com.fmt.mvi.learn.gobal

import android.util.Log
import com.google.gson.Gson

val gson = Gson()

inline fun <reified T> fromJson(json: String): T {
    return gson.fromJson(json, T::class.java)
}

fun Any.log(tag: String = "YYYY") {
    Log.e(tag, this.toString())
}



fun Any.skin_log(tag: String = "skin_log") {
    Log.e(tag, this.toString())
}